package com.ruoyi.biz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 repair_record
 *
 * @author ruoyi
 * @date 2020-11-30
 */
@Data
@ToString
public class RepairRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修记录id */
    private Long repairId;

    /** 设备id */
    @Excel(name = "设备id")
    private Long equipmentId;

    /** 维修内容 */
    @Excel(name = "维修内容")
    private String repairContent;

    /** 维修开始时间 */
    @JsonFormat(pattern =  "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "维修开始时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date repairBeginTime;

    /** 维修结束时间 */
    @JsonFormat(pattern =  "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "维修结束时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date repairEndTime;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /*设备名称*/
    @Excel(name = "设备名称")
    private String equipmentName;

    @Excel(name = "状态字典值")
    private String statusDictLabel;

    @Excel(name = "维修人")
    private String repairName;
}
